<!DOCTYPE html>
<html lang="en">


{include file="Public/head"}

<body data-type="widgets">
<script src="/assets/js/theme.js"></script>
<div class="am-g tpl-g">

    {include file='Public:header'}
    {include file='Public:menu2'}



    <!-- 内容区域 -->
    <div class="tpl-content-wrapper">
        <div class="row-content am-cf">
            <div class="row">
                <div class="am-u-sm-12 am-u-md-12 am-u-lg-10">

                    <div class="widget am-cf">
                        <div class="widget-head am-cf">
                            <div class="widget-title  am-cf">旗舰店分布</div>
                        </div>
                        {foreach name="$data" key="k" item="v"}
                        <li class="sidebar-nav-link">
                            <a href="javascript:;" class="sidebar-nav-sub-title">
                                <span class="am-badge {if $v.order_num.all==0}am-badge-success{else}am-badge-warning{/if} am-round">{$v.order_num.all}</span> {$k}
                                <span class="am-icon-chevron-down am-fr am-margin-right-sm sidebar-nav-sub-ico sidebar-nav-sub-ico-rotate"></span>
                            </a>
                            <ul class="sidebar-nav sidebar-nav-sub" ><!--是否打开目录style="display:block;"-->
                                <li class="sidebar-nav-link">
                                    <a href="{:url('order/index')}?order_push=-1" ><!--是否高亮class="sub-active"-->
                                        <span class="am-icon-angle-right sidebar-nav-link-logo"></span>省内抢单
                                        <span class="am-badge {if $v.order_num.comm==0}am-badge-success{else}am-badge-warning{/if} am-round">{$v.order_num.comm}</span>
                                    </a>
                                </li>
                                {foreach name="$v.data" item="val"}
                                <li class="sidebar-nav-link">
                                    <a href="{:url('order/index')}?order_push={$val.id}" ><!--是否高亮class="sub-active"-->
                                        <span class="am-icon-angle-right sidebar-nav-link-logo"></span>{$val.name}({$val.mobile})
                                        <span class="am-badge {if $val.order_num==0}am-badge-success{else}am-badge-warning{/if} am-round">{$val.order_num}</span>
                                    </a>
                                </li>
                                {/foreach}

                            </ul>
                        </li>
                        {/foreach}
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</div>

</body>
{include file='Public:script'}
<script>
    function roleSubmit(){
        console.log(11);

        $.ajax({
            url:"https://apis.map.qq.com/jsapi?qt=poi",
            type:'GET',
            success:function(res){
                console.log(res);
            }
        });
    }
</script>

</html>